package net.wanho.service;

import com.baomidou.mybatisplus.extension.service.IService;
import net.wanho.dto.BuyListAddDTO;
import net.wanho.dto.BuyListDTO;
import net.wanho.dto.BuyListInStoreDTO;
import net.wanho.dto.BuyListQueryDTO;
import net.wanho.dto.BuyListUpdateDTO;
import net.wanho.po.BuyList;
import net.wanho.vo.BuyListExportVO;
import net.wanho.vo.BuyListVo;
import net.wanho.vo.PageInfo;

import java.util.List;

/**
 * @author 32033
 * @description 针对表【buy_list(采购单表)】的数据库操作Service
 * @createDate 2025-01-11 17:01:23
 */
public interface BuyListService extends IService<BuyList> {

    PageInfo<BuyListVo> purchasePageList(int pageNum, int pageSize, BuyListDTO buyListDTO);

    void saveBuyList(BuyListAddDTO buyListAddDTO);

    void updateBuyList(BuyListUpdateDTO updateDTO);

    void deleteBuyList(Integer id);

    void saveInWarehouseRecord(BuyListInStoreDTO buyListInStoreDTO);

    List<BuyListExportVO> exportTable(BuyListQueryDTO queryDTO);
}
